package com.cloud.lesson.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: Mr.Lai
 * @createTime: 2020/12/14
 * @classNote:
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommonResult<T> {

    private boolean flag;

    private Integer code;

    private String message;

    private T       data;

    public CommonResult(boolean flag,Integer code,String message){
        this(flag,code,message,null);
    }



}
